#include "Person.h"

int Person::count = 0;

//int TestLib(lua_State* L)
//{
//	Person* ptr = ALua::Get(L, 1, ALua::TypeWrapper<Person*>{});
//	printf("TestLib func person's age is %d\n", ptr->age);
//	return 0;
//}
//
//static luaL_Reg personLib[] =
//{
//	{"TestLib", TestLib},
//	{NULL,NULL}
//};
//
//
//BEGIN_EXPORT_ENUM(Person)
//ADD_ENUM_VALUE(PERSON)
//ADD_ENUM_VALUE(STUDENT)
//END_EXPORT_ENUM(Person)
//
//BEGIN_EXPORT_CLASS(Person)
//ADD_FUNCTION(add_height)
//ADD_FUNCTION(set_name)
//ADD_STATIC_FUNCTION(show_type)
//ADD_STATIC_FIELD(count)
//ADD_FIELD(age)
//ADD_FIELD(height)
//ADD_LIB(personLib)
//END_EXPORT_CLASS(Person)
//
//
//
//
//BEGIN_EXPORT_CLASS_WITH_SUPER(Student, Person)
//ADD_FUNCTION(get_id)
//ADD_FIELD(id)
//END_EXPORT_CLASS(Student)